package com.yang.sso.oauth2.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * securiy 动态参数属性
 *
 * @author: lslands
 * @version: 1.0
 * @create: 2024/5/12
 * @description:
 */
@Configuration
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {

    /**
     * security放行白名单
     * @date 2024/5/12 14:00
     */
    private List<String> whitePaths = new ArrayList<>();

    public List<String> getWhitePaths() {
        return whitePaths;
    }
    public void setWhitePaths(List<String> whitelistPaths) {
        this.whitePaths=whitePaths;
    }

}
